from random import randint

answers = []
count = 0

print("Welcome to your 10 question multiplication quiz!")
a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

a = int(randint(1,100))
b = int(randint(1,100))
print(a, "*", b, "=?")
answer = input("What is the answer?")
answer = int(answer)
answers.append(answer)
if answer == (a * b):
    print("Correct!")
    count += 1
else:
    print("Incorrect!")

print("You got", count, "questions correct")
print("You got", 10-count, "questions incorrect")

